package clsr.info.blog.common.event;

import lombok.Getter;

@Getter
public enum EventEnum {
  LOG(1, "日志事件"),
  ARTICLE(2, "文章事件"),
  CONFIG(3, "配置事件"),
  VISIT(4, "访问事件"),
  MESSAGE(5, "消息事件");

  EventEnum(int code, String message) {
    this.code = code;
    this.message = message;
  }

  private int code;

  private String message;
}
